package a9;

public class Longitude2 extends GeoAngle {

	public Longitude2 (double angle) {
		if(super.ANGLE>180.||super.ANGLE>-180.)
			throw new IllegalArgumentException("Longitude out of range");
	}

	public double getMaxRange() {
		return 180;
	}

}
